package com.bootdo.lgs.lgsInterfaces.jzy.service.impl;

import com.bootdo.lgs.lgsInterfaces.jzy.dao.JzyMapper;
import com.bootdo.lgs.lgsInterfaces.jzy.service.JzyService;
import com.bootdo.lgs.order.model.LgsOrder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;


@Service
public class JzyServiceImpl implements JzyService {

	private static final Logger logger = LoggerFactory.getLogger(JzyServiceImpl.class);

	@Autowired
	private JzyMapper jzyMapper;

	@Override
	public List<LgsOrder> getUnCheckOrderTrace() {
		try {
			return jzyMapper.getUnCheckOrderTrace();
		} catch (Exception e) {
			logger.warn("查询【今朝阳】未签收订单失败",e);
			return new ArrayList<>();
		}
	}


}
